package com.qingcloud.adminbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingcloud.adminbackend.entity.sysorder.SysBusinessApp;
import org.apache.ibatis.annotations.Param;

public interface SysBusinessAppMapper extends BaseMapper<SysBusinessApp> {

    /**
     * 保存组织应用
     */
    int saveOrgApp(@Param("orgId") String orgId, @Param("businessType") Integer businessType);

    int countOrgApp(@Param("businessType") Integer businessType);

    /**
     * 保存导入的应用信息
     */
    void saveImportApp(@Param("pojo") SysBusinessApp pojo);

}
